<%@page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html>
<head>
<base href="<%=basePath%>">
</head>

<ul>
<li><a href="upload-input">Upload</a></li>
<li><a href="file-download">Download</a></li>
</ul>

<html>